#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:getMenAndWomenCount.py
# author:wmf
# datetime:2021/5/23 23:07
# software: PyCharm
'''
this is function description
'''
# import module your need
from homework10.homework10_4.people import People

if __name__ == "__main__":
    man_count = 0
    woman_count = 0
    people = People.get_people()
    for person in people:
        if person.genda == "男":
            man_count += 1
        else:
            woman_count += 1
    print("男生总数:%d"%man_count)
    print("女生总数:%d"%woman_count)

